package com.imooc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.bo.QueryCompanyBO;
import com.imooc.pojo.Company;
import com.imooc.vo.CompanyInfoVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 企业表 Mapper 接口
 * </p>
 *
 * @author liansen
 * @since 2023-03-28
 */
@Repository
public interface CompanyMapper extends BaseMapper<Company> {

    List<CompanyInfoVO> queryCompanyList(@Param("companyBO") QueryCompanyBO companyBO);

    CompanyInfoVO getCompanyInfoById(@Param("companyId") String companyId);
}
